﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Catering_Model
{
    [Serializable]
    public partial class DailyRepairInfo
    {
        #region 字段
        private int m_id;   //主键编号
        private int m_DailyManagementID;   //日报管理编号
        private string m_GroupID;   //作业区编号
        private string m_ClassID;   //班组编号
        private string m_SafeHiddenTroubleDesc;   //安全隐患描述
        private bool m_IsSafeEnough;   //安全作业条件是否符合要求
        private string m_RepairingDesc;   //维修保养过程简述
        private DateTime m_BaoXiuDate;   //保修日期
        private DateTime m_StartRepairDate;   //维修人员到达日期
        private DateTime m_EndRepairDate;   //设备维修完工日期
        private string m_RepairedDesc;   //设备维修完工情况简述
        private int m_RepairUserState;   //设备维修人员工作情况（0：满意；1：基本满意；2：不满意）
        #endregion

        #region 属性

        /// <summary>
        /// 主键编号
        /// </summary>
        public int id
        {
            get { return m_id; }
            set { m_id = value; }
        }

        /// <summary>
        /// 日报管理编号
        /// </summary>
        public int DailyManagementID
        {
            get { return m_DailyManagementID; }
            set { m_DailyManagementID = value; }
        }

        /// <summary>
        /// 作业区编号
        /// </summary>
        public string GroupID
        {
            get { return m_GroupID; }
            set { m_GroupID = value; }
        }

        /// <summary>
        /// 班组编号
        /// </summary>
        public string ClassID
        {
            get { return m_ClassID; }
            set { m_ClassID = value; }
        }

        /// <summary>
        /// 安全隐患描述
        /// </summary>
        public string SafeHiddenTroubleDesc
        {
            get { return m_SafeHiddenTroubleDesc; }
            set { m_SafeHiddenTroubleDesc = value; }
        }

        /// <summary>
        /// 安全作业条件是否符合要求
        /// </summary>
        public bool IsSafeEnough
        {
            get { return m_IsSafeEnough; }
            set { m_IsSafeEnough = value; }
        }

        /// <summary>
        /// 维修保养过程简述
        /// </summary>
        public string RepairingDesc
        {
            get { return m_RepairingDesc; }
            set { m_RepairingDesc = value; }
        }

        /// <summary>
        /// 保修日期
        /// </summary>
        public DateTime BaoXiuDate
        {
            get { return m_BaoXiuDate; }
            set { m_BaoXiuDate = value; }
        }

        /// <summary>
        /// 维修人员到达日期
        /// </summary>
        public DateTime StartRepairDate
        {
            get { return m_StartRepairDate; }
            set { m_StartRepairDate = value; }
        }

        /// <summary>
        /// 设备维修完工日期
        /// </summary>
        public DateTime EndRepairDate
        {
            get { return m_EndRepairDate; }
            set { m_EndRepairDate = value; }
        }

        /// <summary>
        /// 设备维修完工情况简述
        /// </summary>
        public string RepairedDesc
        {
            get { return m_RepairedDesc; }
            set { m_RepairedDesc = value; }
        }

        /// <summary>
        /// 设备维修人员工作情况（0：满意；1：基本满意；2：不满意）
        /// </summary>
        public int RepairUserState
        {
            get { return m_RepairUserState; }
            set { m_RepairUserState = value; }
        }
        #endregion
    }

    public enum EnumDailyRepairInfo
    {

        /// <summary>
        /// 主键编号
        /// </summary>
        id,

        /// <summary>
        /// 日报管理编号
        /// </summary>
        DailyManagementID,

        /// <summary>
        /// 作业区编号
        /// </summary>
        GroupID,

        /// <summary>
        /// 班组编号
        /// </summary>
        ClassID,

        /// <summary>
        /// 安全隐患描述
        /// </summary>
        SafeHiddenTroubleDesc,

        /// <summary>
        /// 安全作业条件是否符合要求
        /// </summary>
        IsSafeEnough,

        /// <summary>
        /// 维修保养过程简述
        /// </summary>
        RepairingDesc,

        /// <summary>
        /// 保修日期
        /// </summary>
        BaoXiuDate,

        /// <summary>
        /// 维修人员到达日期
        /// </summary>
        StartRepairDate,

        /// <summary>
        /// 设备维修完工日期
        /// </summary>
        EndRepairDate,

        /// <summary>
        /// 设备维修完工情况简述
        /// </summary>
        RepairedDesc,

        /// <summary>
        /// 设备维修人员工作情况（0：满意；1：基本满意；2：不满意）
        /// </summary>
        RepairUserState
    }
}
